package xin.clips.system.domain.gy;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import xin.clips.common.annotation.Excel;
import xin.clips.common.core.domain.BaseEntity;

/**
 * 设备运行时间对象 gy_device_time
 *
 * @author clips
 * @date 2023-01-13
 */
public class GyDeviceTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;
    /** 设备id */
    private String deviceId;

    /** 运行时间 */
    @Excel(name = "运行时间")
    private String runTime;

    /** 上报日期 */
    @Excel(name = "上报日期")
    private String runDay;

    private GyDevice device;


    public GyDevice getDevice() {
        return device;
    }

    public void setDevice(GyDevice device) {
        this.device = device;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public void setRunTime(String runTime)
    {
        this.runTime = runTime;
    }

    public String getRunTime()
    {
        return runTime;
    }
    public void setRunDay(String runDay)
    {
        this.runDay = runDay;
    }

    public String getRunDay()
    {
        return runDay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("runTime", getRunTime())
            .append("runDay", getRunDay())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
